body {
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 13px;
	line-height: 1.3;
}

h1 {
	font-size: 20px;
}

h2 {
	font-size: 17px;
}

h3 {
	font-size: 15px;
}

canvas {
	background-color: black;
}

#top-panel {
	width: 1164px;
	margin-top: 10px;
	margin-left: auto;
	margin-right: auto;
}

.top-panel {
	float: left;
	margin-left: 10px;
}

#top-right-panel {
	margin-right: 10px;
}

#game-info {
	width: 240px;
	border: 1px solid;
	padding: 10px 0px 10px 10px;
	margin-bottom: 10px;
}

#game-info span {
	display: block;
}

#score-board  {
	width: 240px;
	border: 1px solid;
	padding: 10px 0px 10px 10px;
	margin-bottom: 10px;
}

.score-board-item {
	display: block;
	padding-bottom: 4px;	
}

.score-value {
	float: right;
	padding-right: 10px;
}

#game-control {
	text-align: left;
    border: 1px solid;
	width: 240px;
	padding: 10px 0px 10px 10px;
}

.game-control-menu-option {
	padding: 4px;
}

.game-control-menu-option-text {
    cursor: pointer;
}

.speed-setting-option {
	padding: 2px;
}

.speed-setting-option span {
	padding: 2px;
	border-radius: 3px;
	-moz-border-radius: 3px;
}

.speed-setting-option-text {
    cursor: pointer;
    display: inline;
}

.action-setting-option {
	padding: 2px;
}

.action-setting-option span {
	padding: 2px;
	border-radius: 3px;
	-moz-border-radius: 3px;
}

.action-setting-option-text {
    cursor: pointer;
    display: inline;
}

.selected-game-setting {
    background-color: #00ff85;
}

#user-settings-box h1 {
	font-weight: bold;
	text-align: center;
	color: #ffffff;
	text-shadow: 2px 2px 2px #000000;
	margin-bottom: 20px;
}

#user-settings-box #user-settings-update-status {
	font-weight: bold;
	text-align: center;
}

#successful-validation p {	
	text-align: center;
	color: green;
	margin-top: 45px;
}

#non-successful-validation p {
	text-align: center;	
	color: red;
	margin-top: 45px;
}

#account-overtaken-box h1 {
	color: red;
	text-align: center;
	margin-bottom: 20px;
}

#account-overtaken-box button {
	margin-top: 15px;
}

#high-scores-box h1 {
	margin-bottom: 20px;
	font-weight: bold;
	color: #ffffff;
	text-shadow: 2px 2px 2px #000000;
}

#high-scores-box #table-data th {
	font-weight: bold;
	text-decoration: underline; 
}

#game-end-box h1 {
	color: red;
	text-align: center;
	margin-bottom: 20px;	
}

#game-end-box h2 {
	margin-bottom: 20px;	
}

#game-end-box #game-end-login-suggest {
	margin-bottom: 20px;
}

#game-end-box .game-score {
	font-weight: bold;
}

#game-end-box #game-end-state-non-guest {
	text-align: center;
}

#game-end-box #continueToHighscoresButton {
	display: inline;	
	margin-top: 20px;
}

#game-user {
	width: 250px;
	border: 1px solid;
	padding: 10px;
	margin-bottom: 10px;
	text-align: center;
}

#game-user-details > span {
	display: block;
}

#social-box {
	width: 250px;
	border: 1px solid;
	padding: 10px;
	margin-bottom: 10px;
	text-align: center;
}

#social-box div {
	margin: 2px;
}

#game-rules {
	width: 250px;
	text-align: left;
    border: 1px solid;
	padding: 10px;
}

#game-rules-title {
	margin: 10px;
    text-align: center;
    cursor: pointer;
}

#game-rules h3 {
	margin-bottom: 10px;
}

#game-rules-text #game-rules-score-further-explanation {
	margin-bottom: 25px;
}

#game-rules-text li {
	margin: 3px;
}

#game-rules-summary li {
	padding: 2px;
	border: 1px solid;
	border-radius: 3px;
	-moz-border-radius: 3px;
	text-align: center;
	background-color: #eeeeee;
}

.display-on {
    display: block;
}

.display-off {
    display: none;
}

.game-box {
	border-radius: 5px;
	-moz-border-radius: 5px;
}

.modal-box {
	display: none;
}

/* Modal boxes */

/* Overlay */
#simplemodal-overlay {background-color:#000; cursor:wait;}

/* Container */
#simplemodal-container {height:360px; width:600px; color:#bbb; background-color:#333; border:4px solid #444; padding:12px;}
#simplemodal-container .simplemodal-data {padding:8px;}
#simplemodal-container code {background:#141414; border-left:3px solid #65B43D; color:#bbb; display:block; font-size:12px; margin-bottom:12px; padding:4px 6px 6px;}
#simplemodal-container a {color:#ddd;}
#simplemodal-container a.modalCloseImg {background:url(../img/modal/x.png) no-repeat; width:25px; height:29px; display:inline; z-index:3200; position:absolute; top:-15px; right:-16px; cursor:pointer;}
#simplemodal-container h3 {color:#84b8d9;}

#simplemodal-container .high-scores-data {
	margin-left: auto;
	margin-right: auto;
	text-align: center;
	font-size: 15px;	
}

#simplemodal-container .high-scores-data h1 {
	margin-bottom: 3px;
}


#simplemodal-container .high-scores-data table td {
	padding: 2px;
}

#simplemodal-container .high-scores-data table th {
	font-size: 1.1em;
	padding: 2px;
}

#identification-form h1 {
	color: #ffffff;
	text-shadow: 2px 2px 2px #000000;
	text-align: center;
	margin-bottom: 20px;
}

#identification-form h2 {
	text-decoration: underline;
	color: #ffffff;
	text-shadow: 2px 2px 2px #000000;
	margin-bottom: 10px;
}

#identification-form hr {
	margin: 15px;
}

#identification-form label {
	color: #ffffff;
}


#identification-form #register-section .registration-key-value label {
	float: left;
	width: 80px;
}

#identification-form #register-section #notificationsPolicy {
	margin-top: 8px;
}

#identification-form #register-section #notificationsPolicy .mailsFrequenecyCheckbox {
	margin-left: 30px;
}

#identification-form #register-section .identificationSubmit {
	margin-top: 10px;
}

.error-message {
	margin: 25px 10px 10px 10px;
	color: red;
	font-weight: bold;
	text-align: center;
}

.success-message {
	margin: 10px;
	color: green;	
}

#user-settings-box {
	overflow: hidden;
}

#user-settings-box div {
	padding: 3px;
	float: left;
	width: 100%;
}

.user-settings-key {
	float: left;
	width: 130px;
	color: #ffffff;
}

.user-settings-value {
	float: left;
}

select.user-settings-value {
	padding: 0px;
}